package com.zsrd.lessons.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 题目表
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TsQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orgNo;

    private String title;

    /**
     * 1单选，2多选，3判断
     */
    private Integer type;

    /**
     * 难度，1初级，2中级，3高级
     */
    private Integer difficulty;

    /**
     * 所属题库
     */
    private Integer bid;

    /**
     * 解析
     */
    private String analysis;

    /**
     * 当type=1或2时，此处为空，当type=3时，此处1代表正确，0代表错误
     */
    private String answer;

    private LocalDateTime utime;


}
